home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / classic.jar / skin / classic / global / global.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2008-04-11  |  5.3 KB  |  212 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is Mozilla Communicator client code, released
  15.  * March 31, 1998.
  16.  *
  17.  * The Initial Developer of the Original Code is
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998-1999
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the MPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the MPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. /* ===== global.css =====================================================
  39.   == Styles that apply everywhere.
  40.   ======================================================================= */
  41.  
  42. /* all localizable skin settings shall live here */
  43. @import url("chrome://global/locale/intl.css");
  44.  
  45. @import url("chrome://global/skin/formatting.css");
  46.  
  47. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  48.  
  49. /* ::::: XBL bindings ::::: */
  50.  
  51. checkbox {
  52.   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
  53. }
  54.  
  55. radio {
  56.   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
  57. }
  58.  
  59. menulist > menupopup,
  60. .menulist-menupopup {
  61.   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
  62. }
  63.  
  64. .menulist-compact {
  65.   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
  66. }
  67.  
  68. progressmeter[mode="undetermined"] {
  69.   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
  70. }
  71.  
  72. /* ::::: root elements ::::: */
  73.  
  74. window,
  75. page,
  76. dialog,
  77. wizard,
  78. prefwindow {
  79.   -moz-appearance: window;
  80.   background-color: -moz-Dialog;
  81.   color: -moz-DialogText;
  82.   font: message-box;
  83. }
  84.  
  85. window.dialog {
  86.   padding: 8px 10px 10px 8px;
  87. }
  88.  
  89. [wait-cursor] {
  90.   cursor: wait !important;
  91. }
  92.  
  93. /* ::::: alert icons :::::*/
  94.  
  95. .message-icon,
  96. .alert-icon,
  97. .error-icon,
  98. .question-icon,
  99. .authentication-icon {
  100.   width: 40px;
  101.   height: 40px;
  102. }
  103.  
  104. .message-icon {
  105.   list-style-image: url("moz-icon://stock/gtk-dialog-info?size=dialog");
  106. }
  107.  
  108. .alert-icon {
  109.   list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog");
  110. }
  111.  
  112. .error-icon {
  113.   list-style-image: url("moz-icon://stock/gtk-dialog-error?size=dialog");
  114. }
  115.  
  116. .question-icon {
  117.   list-style-image: url("moz-icon://stock/gtk-dialog-question?size=dialog");
  118. }
  119.  
  120. .authentication-icon {
  121.   list-style-image: url("chrome://global/skin/icons/Authentication.png");
  122. }
  123.  
  124. /* ::::: iframe ::::: */
  125.  
  126. iframe {
  127.   border: none;
  128.   width: 100px;
  129.   height: 100px;
  130.   min-width: 10px;
  131.   min-height: 10px;
  132. }
  133.  
  134. /* ::::: statusbar ::::: */
  135.  
  136. statusbar {
  137.   -moz-appearance: statusbar;
  138.   border-top: 1px solid ThreeDLightShadow;
  139.   border-left: 1px solid ThreeDShadow;
  140.   border-right: 1px solid ThreeDHighlight;
  141.   border-bottom: 1px solid ThreeDHighlight;
  142.   background-color: -moz-Dialog;
  143.   min-height: 22px;
  144. }
  145.  
  146. statusbarpanel {
  147.   -moz-appearance: statusbarpanel;
  148.   -moz-box-align: center;
  149.   -moz-box-pack: center;
  150.   border-left: 1px solid ThreeDHighlight;
  151.   border-top: 1px solid ThreeDHighlight;
  152.   border-right: 1px solid ThreeDShadow;
  153.   border-bottom: 1px solid ThreeDShadow;
  154.   padding: 0 4px;
  155. }
  156.  
  157. .statusbar-resizerpanel {
  158.   -moz-box-align: end;
  159.   -moz-box-pack: end;
  160.   -moz-appearance: resizerpanel;
  161.   padding: 0px;
  162.   border: none;
  163. }
  164.  
  165. .statusbarpanel-iconic,  .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic {
  166.   padding: 0px 1px 0px 1px;
  167. }
  168.  
  169. resizer[dir="bottomright"] {
  170.   -moz-appearance: resizer;
  171.   cursor: se-resize;
  172. }
  173.  
  174. /* XXXBlake yeah, shoot me -- these don't belong here.  I'll move them later. */
  175.  
  176. sidebarheader {
  177.   height: 25px;
  178.   background-color: -moz-Dialog;
  179. }
  180.  
  181. sidebarheader > label {
  182.   -moz-padding-start: 4px;
  183. }
  184.  
  185. /* ::::: miscellaneous ::::: */
  186.  
  187. .toolbar-focustarget {
  188.   -moz-user-focus: ignore !important;
  189. }
  190.  
  191. /* :::::: autoscroll popup ::::: */
  192.  
  193. #autoscroller {
  194.   height: 28px;
  195.   width: 28px;
  196.   border: none;
  197.   margin: -14px;
  198.   padding: 0;
  199.   background-position: center top;
  200.   background-image: url("chrome://global/skin/icons/autoscroll.png");
  201.   background-color: transparent;
  202.   -moz-appearance: none;
  203. }
  204.  
  205. #autoscroller[scrolldir="NS"] {
  206.   background-position: center center;
  207. }
  208.  
  209. #autoscroller[scrolldir="EW"] {
  210.   background-position: center bottom;
  211. }
  212.